//
//  EggController.h
//  symbrion
//
//  Created by Berend Weel on 3/22/13.
//  Copyright (c) 2013 Berend Weel. All rights reserved.
//

#ifndef symbrion_EggController_h
#define symbrion_EggController_h

#include "Controller.h"
#include "ShapeOrganism.h"

class EggController : public Controller {
public:
    EggController(WorldModel *worldModel, RobotType *robot);
    
    virtual void step();
    
private:
    void setRecruitLEDs();
    
    enum State {LISTENING, RECRUITING};
    State state;
    bool stateChanged;
    double lastTime;
    
    
    Shape::Organism *organism;
    Shape::Sequence *sequence;
};

#endif
